package com.s2015.doors.service;

import com.s2015.doors.beans.User;
import com.s2015.doors.dao.IUserDao;

public class TestService {
	private IUserDao userDao = null;
	
	public User selectUser(String id){
		return userDao.getUserById(Long.parseLong(id));
	}

	public IUserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(IUserDao userDao) {
		this.userDao = userDao;
	}
	
}
